<include file="Public/header"/>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1>更改社团活动信息：</h1>
<form name="f1"  method="post" action="update" enctype="multipart/form-data" class="form-horizontal">
     <input type="hidden"  name="id" value="{$practices.id}"></input>
    <div class="form-group">
    <label for="name" class="col-sm-2 control-label">活动名称:</label>
    <div class="col-sm-6">
    <input type="text" class="form-control" id="name" name="name" value="{$practices.name}">
    </div></div>

    <div class="form-group">
    <label for="puser" class="col-sm-2 control-label">发布人:</label>
    <div class="col-sm-6">
    <input type="puser" class="form-control" id="puser" name="puser" value="{$practices.puser}">
    </div></div>

    <div class="form-group">
    <label for="pdate" class="col-sm-2 control-label">发布时间:</label>
    <div class="col-sm-6">
    <input type="date" class="form-control" id="pdate" name="pdate" value="{$practices.pdate}">
    </div></div>

      <div class="form-group">
    <label for="ptime" class="col-sm-2 control-label">活动时间:</label>
    <div class="col-sm-6">
    <input type="date" class="form-control" id="ptime" name="ptime" value="{$practices.ptime}">
    </div></div>

     <div class="form-group">
    <label for="place" class="col-sm-2 control-label">活动地点:</label>
    <div class="col-sm-6">
    <input type="text" class="form-control" id="place" name="place" value="{$practices.place}">
    </div></div>

    <div class="form-group">
    <label for="intro" class="col-sm-2 control-label">活动介绍:</label>
    <div class="col-sm-6">
    <input type="intro" class="form-control" id="intro" name="intro" value="{$practices.intro}">
    </div></div>

    <div class="form-group">
    <label for="exampleInputFile" class="col-sm-2 control-label" >上传文件:</label>
    <div class="col-sm-6">
    <img src="__PUBLIC__/Uploads/file/{$practices.pfile}">
    <input type="file" id="exampleInputFile" name="pfile">
    </div></div>

    <div class="form-group">
    <label for="matters" class="col-sm-2 control-label">注意事项:</label>
    <div class="col-sm-6">
    <input type="text" class="form-control" id="matters" name="matters" value="{$practices.matters}"></input>
    </div></div>

    <div class="form-group">
    <label for="groupname" class="col-sm-2 control-label" >社团:</label>
    <div class="col-sm-6">  
    <input type="text" id="groupname" name="groupname"value="{$practices.groupname}" >
    </div></div>
<!-- 
    <div class="form-group">
    <label class="col-sm-2 control-label">操作:</label>
    <div class="col-sm-6">
    <label class="radio-inline">
    <input type="radio"  id="inlineRadio1" name="verifyinfo" value="0">禁用</label>
    <label class="radio-inline">
    <input type="radio"  id="inlineRadio2" name="verifyinfo" value="1" checked="checked">普通</label>
    <label class="radio-inline">
    <input type="radio"  id="inlineRadio1" name="verifyinfo" value="2">禁言</label>
    </div></div>
 -->
 <!--    <div class="form-group">
    <label for="verifyinfo" class="col-sm-2 control-label">审核信息:</label>
    <div class="col-sm-6">
    <input type="text" class="form-control" id="verifyinfo" name="verifyinfo">
    </div></div> -->
    <div class="form-group">
    <div class="col-sm-offset-2 col-sm-6">
    <button type="submit" class="btn btn-default" >更改社团信息</button>
    </div></div>
    </form>
    </div>

<include file="Public/footer"/>